<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>书籍管理</title>
<link href="__PUBLIC__/style/base.css" rel="stylesheet" type="text/css" />
<link href="__PUBLIC__/style/table_list.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="__PUBLIC__/script/table_list.js"></script>
<script type="text/javascript" src="__PUBLIC__/script/common.js"></script>
</head>

<body>
<table width="100%"  border="0" cellspacing="1" cellpadding="0">
	<tr id="TH" style="background-color:#7DB8C7">
		<td>选择</td>
		<td>序号</td>
		<td>分类名称</td>
		<td>操作</td>
	</tr>
	<iterate name="list" id="type" key="k">
		<tr class="light" onmouseover="onColor(this,1);" onmouseout="offColor(this,1);" onclick="onColor(this,1);">
			<td class="tdstyle text-center" style="height:25px;width:3%"><input type="checkbox" name="idChk" value="{$type.id}" /></td>
			<td class="tdstyle text-center" style="height:25px;width:7%">{$type.id}</td>
			<td class="tdstyle" style="height:25px;width:62%">{$type.name}</td>
			<td class="tdstyle text-center" style="height:25px;width:13%">删除&nbsp;&nbsp;编辑</td>
		</tr>
		{/*
		<present name="type['sub_types']">
			<iterate name="type['sub_types']" id="sub_type" key="k">
				<tr class="light" onmouseover="onColor(this,1);" onmouseout="offColor(this,1);" onclick="onColor(this,1);">
					<td class="tdstyle text-center" style="height:25px;width:3%"><input type="checkbox" name="idChk" value="{$sub_type.id}" /></td>
					<td class="tdstyle text-center" style="height:25px;width:7%">{$sub_type.id}</td>
					<td class="tdstyle" style="height:25px;width:62%">{$sub_type.name}</td>
					<td class="tdstyle text-center" style="height:25px;width:13%">删除&nbsp;&nbsp;编辑</td>
				</tr>
			</iterate>
		</present>
		*/}
	</iterate>
	<tr class="light" onmouseover="onColor(this,1);" onmouseout="offColor(this,1);" onclick="onColor(this,1);">
		<td class="tdstyle text-left" colspan="5" style="height:25px">
			<button class="btn_2k3" onclick="javascript:selectAll('idChk');" >全选</button>&nbsp;
			<button class="btn_2k3" onclick="javascript:cancelAll('idChk');" >取消</button>&nbsp;
			<button class="btn_2k3" onclick="javascript:del();" >删除</button>&nbsp;
			<button class="btn_2k3" onclick="javascript:audit();" >审核通过</button>&nbsp;
			<button class="btn_2k3" onclick="javascript:window.location='__URL__/add';" >添加</button>&nbsp;
		</td>
	</tr>
</table>

</body>
</html>